export const popoverContent = function (property) {
  const layerType: string = property.layerType
  if (layerType === 'll') {
    return `
      <div>名称：${property.name}</div>`
  } else if (layerType === 'sz') {
    return `
    <div>名称：${property.name}</div></br>
    <div>品牌：${property.brand}</div>`
  } else if (layerType === 'bz') {
    return `
    <div>名称：${property.name}</div></br>
    <div>水泵数量：${property.pumpNum}</div>`
  } else if (layerType === 'sp') {
    return `
    <div>名称：${property.name}</div></br>
    <div>类型：${property.videoType}</div></br>
    <div>品牌：${property.brand}</div>`
  } else if (layerType === 'zf') {
    return `
    <div>名称：${property.name}</div>`
  } else if (layerType === 'sh') {
    return `
    <div>名称：${property.name}</div>`
  } else if (layerType === 'hdb') {
    return `
    <div>名称：${property.name}</div>`
  } else {
    return `
    <div>经度：${property['经度']}</div></br>
    <div>纬度：${property['纬度']}</div>`
  }
}
